<template>
	<div>
		<button @click="btnClick(1)">-1</button>
		<button @click="btnClick(5)">-5</button>
		<button @click="btnClick(10)">-10</button>
	</div>
</template>

<script>
export default {
	emits: ['subClick'],
	methods: {
		btnClick(num) {
			this.$emit('subClick', num)
		},
	},
}
</script>

<style scoped></style>
